package com.ztgf.order.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ztgf.order.models.dto.OrderAfterSaleLogDTO;
import com.ztgf.order.models.vo.OrderAfterSaleLogMsgVO;
import com.ztgf.order.models.vo.OrderAfterSaleLogVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * author: chenyu.wang
 * date: 2020-07-06 11:39
 * Description:订单(退货换货)售后日志表映射
 */
@Mapper
public interface OrderAfterSaleLogMapper extends BaseMapper<OrderAfterSaleLogDTO> {

    /*
     * @description:获取售后订单信息
     * @author: chenyu.wang
     * @date: 2020-08-27
     */
    OrderAfterSaleLogVO queryAfterOrderMsg(@Param("id") Long id);

    /*
     * @description:获取进度详情
     * @author: chenyu.wang
     * @date: 2020-08-27
     */
    List<OrderAfterSaleLogMsgVO> queryLogDetails(@Param("id") Long id);
}
